import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


// import API from './api/index.js'
import API from './api/index';


Vue.prototype.$API = API;

Vue.config.productionTip = false;
Vue.use(Element);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
